Dynamic Range Majority Data Structures

نویسندگان

  • Amr Elmasry
  • Meng He
  • J. Ian Munro
  • Patrick K. Nicholson
چکیده

Given a set P of n coloured points on the real line, we study the problem of answering range α-majority (or “heavy hitter”) queries on P . More specifically, for a query range Q, we want to return each colour that is assigned to more than an α-fraction of the points contained in Q. We present a new data structure for answering range α-majority queries on a dynamic set of points, where α ∈ (0, 1). Our data structure uses O(n) space, supports queries in O((lg n)/α) time, and updates in O((lg n)/α) amortized time. If the coordinates of the points are integers, then the query time can be improved to O(lg n/(α lg lg n)). For constant values of α, this improved query time matches an existing lower bound, for any data structure with polylogarithmic update time. We also generalize our data structure to handle sets of points in d-dimensions, for d ≥ 2, as well as dynamic arrays, in which each entry is a colour.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ar X iv : 1 10 4 . 55 17 v 2 [ cs . D S ] 4 D ec 2 01 2 Dynamic Range Majority Data Structures ⋆

Given a set P of n coloured points on the real line, we study the problem of answering range α-majority (or “heavy hitter”) queries on P . More specifically, for a query range Q, we want to return each colour that is assigned to more than an α-fraction of the points contained in Q. We present a new data structure for answering range α-majority queries on a dynamic set of points, where α ∈ (0, 1...

متن کامل

Approximate Incremental Dynamic Analysis Using Reduction of Ground Motion Records

Incremental dynamic analysis (IDA) requires the analysis of the non-linear response history of a structure for an ensemble of ground motions, each scaled to multiple levels of intensity and selected to cover the entire range of structural response. Recognizing that IDA of practical structures is computationally demanding, an approximate procedure based on the reduction of the number of ground m...

متن کامل

New Lower Bound Techniques for Dynamic Partial Sums and Related Problems

We study the complexity of the dynamic partial sum problem in the cell-probe model. We give the model access to nondeterministic queries and prove that the problem remains hard. We give the model access to the right answer ±1 as an oracle and prove that the problem remains hard. This suggests which kind of information is hard to maintain. From these results, we derive a number of lower bounds f...

متن کامل

Revenue - Profit Measurement in Data Envelopment Analysis with Dynamic Network Structures: A Relational Model

The correlated models are introduced in this article regarding revenue efficiency and profit efficiency in dynamic network production systems. The proposed models are not only applicable in measuring efficiency of divisional, periodical and overall efficiencies, but recognizing the exact sources of inefficiency with respect to revenue and profit efficiencies. Two numerical examples, consisting ...

متن کامل

Influence of changes in the prestress force on dynamic specifications of the prestressed concrete beam

Pre-stress techniques tend to increase cross-sectional capacity and optimize design. Such features have made these techniques rather popular. Over time, these structures tend to fail, and the reduction of pre-stress force over the lifetime of the structure is said to be one of the most significant destructive factors in these structures. This decrease in force occurs due to various reasons. In ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011